﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using RESTServices.Persistencia;
using RESTServices.Dominio;

namespace RESTServices
{
    public class Carteleras : ICarteleras
    {
        private CarteleraDAO dao = new CarteleraDAO();

        public List<Cartelera> ListarCartelera()
        {
            return dao.ListarTodos();
        }

        public Cartelera CrearCartelera(CarteleraLigth carteleraAcrear)
        {
            return dao.Crear(carteleraAcrear);
        }
    }
}
